package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface SpecificationService {
    PageBean<TbSpecification> getinfo(Integer number, Integer pageSize, String sname);

    Integer addinfo(String specName,List<TbSpecificationOption> list);

    Integer deleteAll(Long[] ids);

    TbSpecification toUpdate(Long id);

    Integer updateinfo(String specName, List<TbSpecificationOption> list,Long id);

    List<TbSpecification> getAll();
}
